//
//  AlarmListModel.h
//  efairy
//
//  Created by 李锋 on 2019/2/25.
//  Copyright © 2019年 East. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "YYModel.h"

NS_ASSUME_NONNULL_BEGIN


@interface AlarmNoDispostIdListModel : NSObject
@property(nonatomic,assign) NSInteger total_rows;
@property(nonatomic,strong) NSMutableArray<NSNumber *> *efairydevicealarmstatistics_id_list;//未处理的报警列表
@end

@interface AlarmDispostListModel : NSObject
@property(nonatomic,copy) NSString *efairyalarmrecord_id; // 处理报告编号
@property(nonatomic,copy) NSString *efairydevicealarmstatistics_id;// 报警编号
@property(nonatomic,copy) NSString *efairydevicealarmstatistics_c_name; // 通道名称
@property(nonatomic,copy) NSString *efairydevicealarmstatistics_c_alarm; // 报警
@property(nonatomic,assign) NSInteger efairydevicealarmstatistics_alarm_type; // 报警类型
@property(nonatomic,copy) NSString *efairydevicealarmstatistics_highest_value; // 报警值
@property(nonatomic,copy) NSString *efairydevicealarmstatistics_start_time; // 报警时间
@property(nonatomic,copy) NSString *efairyalarmrecord_add_time;// 报警处理时间
@property(nonatomic,copy) NSString *efairyalarmrecord_content; // 报警处理内容
@property(nonatomic,copy) NSString *efairyalarmrecord_user_id;// 处理人员编号
@property(nonatomic,copy) NSString *efairyuser_nickname; // 处理人员名称
@property(nonatomic,copy) NSString *efairyuser_phonenumber; // 处理人联系方式
@end

@interface AlarmNoDispostListModel : NSObject
@property(nonatomic,assign) NSInteger efairydevicealarmstatistics_alarm_type;//报警类型
@property(nonatomic,copy) NSString *efairydevicealarmstatistics_c_alarm;//报警
@property(nonatomic,copy) NSString *efairydevicealarmstatistics_c_name;// 通道名称
@property(nonatomic,copy) NSString *efairydevicealarmstatistics_highest_value;//报警值
@property(nonatomic,assign) NSInteger efairydevicealarmstatistics_id;//报警编号
@property(nonatomic,copy) NSString *efairydevicealarmstatistics_start_time;//报警时间
@property(nonatomic,assign) BOOL isChecked;//是否选中此项
@end


@interface AlarmListModel : NSObject<YYModel,NSCoding>
@property(nonatomic,strong) NSMutableArray<AlarmNoDispostListModel *> *alarm_msg_list;//未处理的报警列表
@property(nonatomic,strong) NSMutableArray<AlarmDispostListModel *> *alarmrecord_list;//未处理的报警列表
@property(nonatomic,assign) NSInteger total_rows;//总条数

@end

NS_ASSUME_NONNULL_END
